package tt.dz.entity.system;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@IdClass(OmsRoleAuthEntityKey.class)
@Table(name = "oms_role_auth")
public class OmsRoleAuthEntity implements Serializable
{
	@Id
	@Column(name = "role_id")
	private String roleId;
	@Id
	@Column(name = "url_id")
	private String urlId;
	@Column(name = "create_time")
	private Date createTime;
	@Column(name = "create_oper_id")
	private String createOperId;
	@Column(name = "update_time")
	private Date updateTime;
	@Column(name = "update_oper_id")
	private String updateOperId;
	@Column(name = "valid_flag")
	private Integer validFlag;

	public String getRoleId()
	{
		return roleId;
	}

	public void setRoleId(String roleId)
	{
		this.roleId = roleId;
	}

	public String getUrlId()
	{
		return urlId;
	}

	public void setUrlId(String urlId)
	{
		this.urlId = urlId;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public String getCreateOperId()
	{
		return createOperId;
	}

	public void setCreateOperId(String createOperId)
	{
		this.createOperId = createOperId;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public String getUpdateOperId()
	{
		return updateOperId;
	}

	public void setUpdateOperId(String updateOperId)
	{
		this.updateOperId = updateOperId;
	}

	public Integer getValidFlag()
	{
		return validFlag;
	}

	public void setValidFlag(Integer validFlag)
	{
		this.validFlag = validFlag;
	}

}